package com.example.WebSocketDemo.bean;

public class FriendRequest {
    private int id;
    private String username;
    private String nickname;
    private String sendTime;
    private String state;
    private String profilePhoto;
    private String message;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getProfilePhoto() {
        return profilePhoto;
    }

    public void setProfilePhoto(String profilePhoto) {
        this.profilePhoto = profilePhoto;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public FriendRequest() {
    }

    public FriendRequest(int id, String username, String nickname, String sendTime, String state, String profilePhoto, String message) {
        this.id = id;
        this.username = username;
        this.nickname = nickname;
        this.sendTime = sendTime;
        this.state = state;
        this.profilePhoto = profilePhoto;
        this.message = message;
    }

    @Override
    public String toString() {
        return "FriendRequest{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", nickname='" + nickname + '\'' +
                ", sendTime='" + sendTime + '\'' +
                ", state='" + state + '\'' +
                ", profilePhoto='" + profilePhoto + '\'' +
                ", message='" + message + '\'' +
                '}';
    }
}

